//
//  FtHomeBtn.m
//  Feast
//
//  Created by 胡光健 on 2017/8/25.
//  Copyright © 2017年 mac. All rights reserved.
//

#import "FtHomeBtn.h"

@implementation FtHomeBtn
-(instancetype)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
        self = [[NSBundle mainBundle]loadNibNamed:@"FtHomeBtn" owner:self options:nil].lastObject;
        self.frame = frame;
    }
    return self;
}

- (IBAction)AllBtn:(UIButton *)sender {
    if (self.btnBlock) {
        self.btnBlock(sender.tag);
    }
}

@end
